package com.vca.common.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * @author Li
 * @date 2022/11/03 10:37
 * @Description 银联全民付 支付订单状态响应类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SUmsQueryResponse对象", description="银联全民付 支付订单状态响应类")
public class UmsQueryResponse implements Serializable {

    private static final long serialVersionUID = -1961405995848592011L;

    @ApiModelProperty(value = "订单状态  true=支付成功 或 退款成功 false = 支付失败 或 退款失败")
    private Boolean status;

    @ApiModelProperty(value = "响应前端语句")
    private String msg;

    @ApiModelProperty(value = "实际支付金额")
    private BigDecimal payFree;

    public UmsQueryResponse(Boolean status, String msg) {
        this.status = status;
        this.msg = msg;
    }
}
